/*
 * Copyright 2017 JessYan
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain bg_tran_b_green00bc7e_r_22dp copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.app.bimo.commonbusiness.mvp;

import android.content.Context;

import java.util.ArrayList;

import androidx.annotation.NonNull;



public interface IView {


    /**
     * 显示登录
     */
    void showLogin();


    /**
     * 显示数据加载框
     */
    void showLoading();

    /**
     * 隐藏数据加载框
     */
    void hideLoading();



    /**
     * 显示Toast
     */
    void showMessage(@NonNull String message);

    /**
     * 加载失败显示信息
     */
    void showError();


    /**
     * 空数据
     */
    void showEmpty();



    /**
     * Dialog样式的加载
     */
    void showDialogLoading();

    /**
     * 取消Dialog样式的加载
     */
    void hideDialogLoading();


    Context getMContext();



}
